<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>弹出窗口</title>
    <link rel="stylesheet" href="./css/index.css" />
</head>

<body>
    <button>点击弹出窗口</button>
    <div class="modal">
        <span class="close">X</span>
        <p>我是一个弹出窗口</p>
    </div>

    <!-- 在这个位置引入practice.js -->
    <script src="./js/practice.js"></script>
    <script src="./js/index.js"></script>
</body>

</html>